package com.three;

public class CustomThread extends Thread{

	@Override
	public void run() {
		while(true) {
			System.out.println(this.getName());
		}
	}
	


	public CustomThread(String name){
		super(name);
		
		
		
	}
	public CustomThread(){
		super();
		
		
		
	}
}